#define  _CRT_SECURE_NO_WARNINGS
#include "priority_queue.h"


int main()
{
	int arr[] = { 6,1,2,3,7,5 };
	jc::priority_queue<int,vector<int>,jc::greater<int>> pq(arr, arr + sizeof(arr) / sizeof(int));
	////pq.push(6);
	//pq.push(1);//
	//pq.push(2);
	//pq.push(3);
	//pq.push(7);
	//pq.push(5);
	//
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	return 0;
}


